import request from '@/utils/request'

// 查询归集记录列表
export function listWTransferCollect(query) {
  return request({
    url: '/api/wTransferCollect/list',
    method: 'get',
    params: query
  })
}

// 查询归集记录详细
export function getWTransferCollect(id) {
  return request({
    url: '/api/wTransferCollect/' + id,
    method: 'get'
  })
}

// 新增归集记录
export function addWTransferCollect(data) {
  return request({
    url: '/api/wTransferCollect',
    method: 'post',
    data: data
  })
}

// 修改归集记录
export function updateWTransferCollect(data) {
  return request({
    url: '/api/wTransferCollect',
    method: 'put',
    data: data
  })
}

// 删除归集记录
export function delWTransferCollect(id) {
  return request({
    url: '/api/wTransferCollect/' + id,
    method: 'delete'
  })
}
